<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用印申请页面</title>

    <!-- import CSS -->
    <link rel="stylesheet" href="../../layuiadmin/element-ui/lib/theme-chalk/index.css">
    <!-- import Vue before Element -->
    <script src="../../layuiadmin/js/case/vue.js"></script>
    <!-- import JavaScript -->
    <script src="../../layuiadmin/element-ui/lib/index.js"></script>
    <!-- import vueResource -->
    <script type="text/javascript" src="../../layuiadmin/js/case/vue-resource.js"></script>
    <!--导入bootstrap-->
    <link href="../../layuiadmin/js/adm/css/bootstrap.css" rel="stylesheet">
    <script src="../../layuiadmin/js/adm/js/jquery.min.js"></script>
    <script src="../../layuiadmin/js/adm/js/bootstrap.js"></script>
    <script src="../../layuiadmin/js/case/jquery.cookie.js"></script>
    <script>Vue.config.productionTip=false</script>
    
    <style>
        .wid{
            width: 570px;
        }
        body{
            background: #FFFFFF;
        }
    </style>
    
</head>
<body>


    <div id="app" style="margin: 20px">

        <el-form :inline="true" :label-position="'top'" :model="Case_audit" class="demo-form-inline">
            <el-form-item label="用印事项">
                <el-select class="wid" v-model="Case_audit.sealType" placeholder="请选择">
                    <el-option v-for="item in options"
                            :key="item.value"
                            :label="item.label"
                            :value="item.label">
                    </el-option>
                </el-select>
            </el-form-item>

            <el-form-item label="领用日期">
                <el-date-picker style="width: 570px"
                        v-model="value"
                        type="date"
                        placeholder="选择日期">
                </el-date-picker>
            </el-form-item>

            <el-form-item label="案件">
                <el-input v-model="Case_audit.caseid.caseId" @click.native="demo()" class="wid" placeholder="点击选择案件"  :disabled="true"></el-input>
            </el-form-item>

            <el-form-item label="收函方/委托人">
                <el-input v-model="Case_audit.caseid.clientId.clientName" class="wid" placeholder="选择案件后自动生成" :disabled="true"></el-input>
            </el-form-item>
        </el-form>


        <el-form :inline="true" :label-position="'top'" :model="Case_audit" class="demo-form-inline">
            <el-form-item label="备注" prop="desc">
                <el-input type="textarea" style="width: 1160px;" v-model="Case_audit.auditid.remark"></el-input>
            </el-form-item>
        </el-form>
        
        <el-button type="primary" @click="onSubmit()">确定提交</el-button>
        
        <!-- 案件显示模态框 -->
        <el-dialog title="选择案件"
                :visible.sync="dialogVisible" width="60%"
                :before-close="handleClose">

            <el-table :data="tableData" v-loading="tableLoading" style="width: 100%">
                <el-table-column label="选择">
                    <template slot-scope="scope">
                        <el-radio v-model="radio" :label="scope.row.caseId"></el-radio>
                    </template>
                </el-table-column>
                
                <el-table-column prop="caseId" label="案号">
                </el-table-column>
                
                <el-table-column prop="clientId.clientName" label="委托人">
                </el-table-column>

                <el-table-column prop="agencyMoney" label="代理费">
                </el-table-column>

                <el-table-column prop="mainLawyer.empName" label="承办律师">
                </el-table-column>
            </el-table>
            
            <span slot="footer" class="dialog-footer">
                <el-button type="primary" @click="dialogVisible_select()">确 定</el-button>
                <el-button @click="dialogVisible = false">取 消</el-button>
            </span>
        </el-dialog>
        
        
        
    </div>


<script type="text/javascript" src="../../layuiadmin/js/case/Case_seal.js"></script>

</body>
</html>